package com.twang.stock.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class StockFromTHSDto implements Serializable {

    //5-代码
    @JSONField(name = "5")
    private String code;
    //6-昨收
    @JSONField(name = "6")
    private BigDecimal yesTodayPricae;
    //7-今开
    @JSONField(name = "7")
    private BigDecimal toDayBeginPrice;
    //8-最高
    @JSONField(name = "8")
    private BigDecimal toDayHighPrice;
    //9-最低
    @JSONField(name = "9")
    private BigDecimal toDayLowPrice;

    //10-当前价格
    @JSONField(name = "10")
    private BigDecimal nowPrice;
    //13-成交量
    @JSONField(name = "13")
    private BigDecimal tradeVol;
    //14-外盘
    @JSONField(name = "14")
    private BigDecimal waiPan;
    //15-内盘
    @JSONField(name = "15")
    private BigDecimal neiPan;
    //19- 成交额
    @JSONField(name = "19")
    private BigDecimal tradeAmount;
    //24-买一
    @JSONField(name = "24")
    private BigDecimal buyOne;
    //25-买一挂单（股）
    @JSONField(name = "25")
    private BigDecimal buyOneCount;
    //30-卖一
    @JSONField(name = "30")
    private BigDecimal saleOne;
    //31-卖一挂单（股）
    @JSONField(name = "31")
    private BigDecimal saleOneCount;
    //69-涨停价
    @JSONField(name = "69")
    private BigDecimal zhangTingPrice;
    //70-跌停价
    @JSONField(name = "70")
    private BigDecimal dieTingPrice;
    //74-盘后量（注册制）
    //73-盘后笔数
    //402-总股本
    //407-流通股
    //2942-市盈率(动)
    @JSONField(name = "2942")
    private BigDecimal ped;
    //199112-涨幅
    @JSONField(name = "199112")
    private BigDecimal zhangFu;
    //264648-涨跌（元）
    @JSONField(name = "264648")
    private BigDecimal zhangDieMoney;
    // 395720-委差（股）
    //461256-委比
    //526792-振幅
    @JSONField(name = "526792")
    private BigDecimal zhengfu;
    //592920- 市净率
    //2034120-市盈率(动)
    @JSONField(name = "2034120")
    private BigDecimal pe;
    //1968584- 换手
    @JSONField(name = "1968584")
    private BigDecimal huanShou;
    //3475914-流通市值（元）
    @JSONField(name = "3475914")
    private BigDecimal liuTongShiZhi;
    // 3541450-总市值（元）
    @JSONField(name = "3541450")
    private BigDecimal zongShizhi;
    //name-股票名称
    @JSONField(name = "name")
    private String stockName;
    //stockStatus-交易状态：闭市
    @JSONField(name = "stockStatus")
    private String tradeStatus;
}
